﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gallio.Model;
using Gallio.Reflection;
using NFit.Core;
using NFit.Core.Interfaces;
using System.Reflection;
using NFit.Core.DataSources;

namespace NFit.GallioAdapter
{
    /// <summary>
    /// Explores an assembly for NFit tests
    /// </summary> 
    public class NFitTestExplorer : BaseTestExplorer
    {
        public NFitTestExplorer(TestModel model):base(model)
        {
            
        }

        public override void ExploreAssembly(IAssemblyInfo assembly, Action<ITest> consumer)
        {
            var state = new NFitExplorerState(this.TestModel);

            state.ExploreAssembly(assembly, consumer);
        }
    }
}
